home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- this.temp = Math.random();
- this.speed = 5 * this.temp;
- this.yspeed = this.speed + 1;
- this.xspeed = 2 / this.yspeed + 2 * this.temp;
- this.star1.gotoAndPlay(1);
- this.star1.star2.gotoAndPlay(1);
- this._width = this.temp * 5 + 2;
- this._height = this._width;
- this._y = random(300) - 300;
- this._x = random(700) - 300;
- this.star1.gotoAndPlay(2 / (random(15) + random(15)));
- this.star1.star2.gotoAndPlay(2 / (random(20) + random(20)));
- }
-